projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cfe905
)
icontheme: Get rid of deprecation warnings
author
Benjamin Otte
<otte@redhat.com>
Tue, 8 Nov 2011 13:15:30 +0000
(14:15 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 8 Nov 2011 20:14:05 +0000
(21:14 +0100)
Before including deprecated headers, disable deprecation warnings.
gtk/gtkicontheme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkicontheme.c
b/gtk/gtkicontheme.c
index 32c9166db79fdaedf36d67aa20b7b9059476aa68..66e03adddd478a061beb2023d3d9030c5003d790 100644
(file)
--- a/
gtk/gtkicontheme.c
+++ b/
gtk/gtkicontheme.c
@@
-48,6
+48,13
@@
#include "gtknumerableiconprivate.h"
#include "gtksettings.h"
#include "gtkprivate.h"
+
+#undef GDK_DEPRECATED
+#undef GDK_DEPRECATED_FOR
+#define GDK_DEPRECATED
+#define GDK_DEPRECATED_FOR(f)
+#undef GTK_DISABLE_DEPRECATED
+
#include "deprecated/gtkstyle.h"